package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 收入信息
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2024-02-24 21:57:14
 */
@TableName("shouruxinxi")
public class ShouruxinxiEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public ShouruxinxiEntity() {
		
	}
	
	public ShouruxinxiEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
    @TableId(type = IdType.AUTO)
    private Long id;
	/**
	 * 明细编号
	 */
					
	private String mingxibianhao;
	
	/**
	 * 账目名称
	 */
					
	private String zhangmumingcheng;
	
	/**
	 * 封面
	 */
					
	private String fengmian;
	
	/**
	 * 收益类别
	 */
					
	private String shouyileibie;
	
	/**
	 * 金额
	 */
					
	private Double jine;
	
	/**
	 * 摘要
	 */
					
	private String zhaiyao;
	
	/**
	 * 用户账号
	 */
					
	private String yonghuzhanghao;
	
	/**
	 * 用户姓名
	 */
					
	private String yonghuxingming;
	
	/**
	 * 记账时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
	@DateTimeFormat 		
	private Date jizhangshijian;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：明细编号
	 */
	public void setMingxibianhao(String mingxibianhao) {
		this.mingxibianhao = mingxibianhao;
	}
	/**
	 * 获取：明细编号
	 */
	public String getMingxibianhao() {
		return mingxibianhao;
	}
	/**
	 * 设置：账目名称
	 */
	public void setZhangmumingcheng(String zhangmumingcheng) {
		this.zhangmumingcheng = zhangmumingcheng;
	}
	/**
	 * 获取：账目名称
	 */
	public String getZhangmumingcheng() {
		return zhangmumingcheng;
	}
	/**
	 * 设置：封面
	 */
	public void setFengmian(String fengmian) {
		this.fengmian = fengmian;
	}
	/**
	 * 获取：封面
	 */
	public String getFengmian() {
		return fengmian;
	}
	/**
	 * 设置：收益类别
	 */
	public void setShouyileibie(String shouyileibie) {
		this.shouyileibie = shouyileibie;
	}
	/**
	 * 获取：收益类别
	 */
	public String getShouyileibie() {
		return shouyileibie;
	}
	/**
	 * 设置：金额
	 */
	public void setJine(Double jine) {
		this.jine = jine;
	}
	/**
	 * 获取：金额
	 */
	public Double getJine() {
		return jine;
	}
	/**
	 * 设置：摘要
	 */
	public void setZhaiyao(String zhaiyao) {
		this.zhaiyao = zhaiyao;
	}
	/**
	 * 获取：摘要
	 */
	public String getZhaiyao() {
		return zhaiyao;
	}
	/**
	 * 设置：用户账号
	 */
	public void setYonghuzhanghao(String yonghuzhanghao) {
		this.yonghuzhanghao = yonghuzhanghao;
	}
	/**
	 * 获取：用户账号
	 */
	public String getYonghuzhanghao() {
		return yonghuzhanghao;
	}
	/**
	 * 设置：用户姓名
	 */
	public void setYonghuxingming(String yonghuxingming) {
		this.yonghuxingming = yonghuxingming;
	}
	/**
	 * 获取：用户姓名
	 */
	public String getYonghuxingming() {
		return yonghuxingming;
	}
	/**
	 * 设置：记账时间
	 */
	public void setJizhangshijian(Date jizhangshijian) {
		this.jizhangshijian = jizhangshijian;
	}
	/**
	 * 获取：记账时间
	 */
	public Date getJizhangshijian() {
		return jizhangshijian;
	}

}
